import com.sun.media.sound.SoftMixingMainMixer;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: WHY
 * Date: 2022-12-02
 * Time: 15:53
 */
public class Test {
    public static void main(String[] args) {
        Game game=new Game();
        List<Poker> pokers = game.buyPokers();
        System.out.println(pokers);

        //洗牌
        game.wash(pokers);
        //
        System.out.println("洗牌：");
        System.out.println(pokers);
        //揭牌
        System.out.println("揭牌");
        List<List<Poker>>hand= game.play(pokers);
        for (int i = 0; i < hand.size(); i++) {
            System.out.println("第 "+(i+1)+"个人的牌："+hand.get(i));
        }
        System.out.println("剩下的牌：");
        System.out.println(pokers);


    }

}
